package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the PRESENTANTE_ANDAHUAYLAS database table.
 * 
 */
//@Entity
//@Table(name="PRESENTANTE_ANDAHUAYLAS")
public class PresentanteAndahuayla implements Serializable {
	private static final long serialVersionUID = 1L;
	private String aaHojaPres;
	private String aaTituAnte;
	private String agntSync;
	private String apeMat;
	private String apePat;
	private String areaRegId;
	private String curPres;
	private String nombreInst;
	private String nombres;
	private String nuDoc;
	private String nuTituAnte;
	private String numHojaPres;
	private String presOficRegId;
	private String presRegPubId;
	private String sistemaId;
	private String tiDocu;
	private String tipoPer;
	private Date tsPres;
	private Date tsUltSync;

    public PresentanteAndahuayla() {
    }


	@Column(name="AA_HOJA_PRES", nullable=false, length=4)
	public String getAaHojaPres() {
		return this.aaHojaPres;
	}

	public void setAaHojaPres(String aaHojaPres) {
		this.aaHojaPres = aaHojaPres;
	}


	@Column(name="AA_TITU_ANTE", length=4)
	public String getAaTituAnte() {
		return this.aaTituAnte;
	}

	public void setAaTituAnte(String aaTituAnte) {
		this.aaTituAnte = aaTituAnte;
	}


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="APE_MAT", length=40)
	public String getApeMat() {
		return this.apeMat;
	}

	public void setApeMat(String apeMat) {
		this.apeMat = apeMat;
	}


	@Column(name="APE_PAT", length=40)
	public String getApePat() {
		return this.apePat;
	}

	public void setApePat(String apePat) {
		this.apePat = apePat;
	}


	@Column(name="AREA_REG_ID", nullable=false, length=5)
	public String getAreaRegId() {
		return this.areaRegId;
	}

	public void setAreaRegId(String areaRegId) {
		this.areaRegId = areaRegId;
	}


	@Column(name="CUR_PRES", length=14)
	public String getCurPres() {
		return this.curPres;
	}

	public void setCurPres(String curPres) {
		this.curPres = curPres;
	}


	@Column(name="NOMBRE_INST", length=100)
	public String getNombreInst() {
		return this.nombreInst;
	}

	public void setNombreInst(String nombreInst) {
		this.nombreInst = nombreInst;
	}


	@Column(length=40)
	public String getNombres() {
		return this.nombres;
	}

	public void setNombres(String nombres) {
		this.nombres = nombres;
	}


	@Column(name="NU_DOC", length=12)
	public String getNuDoc() {
		return this.nuDoc;
	}

	public void setNuDoc(String nuDoc) {
		this.nuDoc = nuDoc;
	}


	@Column(name="NU_TITU_ANTE", length=8)
	public String getNuTituAnte() {
		return this.nuTituAnte;
	}

	public void setNuTituAnte(String nuTituAnte) {
		this.nuTituAnte = nuTituAnte;
	}


	@Column(name="NUM_HOJA_PRES", nullable=false, length=10)
	public String getNumHojaPres() {
		return this.numHojaPres;
	}

	public void setNumHojaPres(String numHojaPres) {
		this.numHojaPres = numHojaPres;
	}


	@Column(name="PRES_OFIC_REG_ID", nullable=false, length=2)
	public String getPresOficRegId() {
		return this.presOficRegId;
	}

	public void setPresOficRegId(String presOficRegId) {
		this.presOficRegId = presOficRegId;
	}


	@Column(name="PRES_REG_PUB_ID", nullable=false, length=2)
	public String getPresRegPubId() {
		return this.presRegPubId;
	}

	public void setPresRegPubId(String presRegPubId) {
		this.presRegPubId = presRegPubId;
	}


	@Column(name="SISTEMA_ID", nullable=false, length=3)
	public String getSistemaId() {
		return this.sistemaId;
	}

	public void setSistemaId(String sistemaId) {
		this.sistemaId = sistemaId;
	}


	@Column(name="TI_DOCU", length=2)
	public String getTiDocu() {
		return this.tiDocu;
	}

	public void setTiDocu(String tiDocu) {
		this.tiDocu = tiDocu;
	}


	@Column(name="TIPO_PER", nullable=false, length=1)
	public String getTipoPer() {
		return this.tipoPer;
	}

	public void setTipoPer(String tipoPer) {
		this.tipoPer = tipoPer;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_PRES")
	public Date getTsPres() {
		return this.tsPres;
	}

	public void setTsPres(Date tsPres) {
		this.tsPres = tsPres;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}